package counter.com.connproperty.loudongjiance;

import lombok.AllArgsConstructor;
import lombok.Data;

@AllArgsConstructor
@Data
public class BugRankProperty implements Comparable {
    String name;
    Integer type;
    Integer times;

    @Override
    public int compareTo(Object o) {
        BugRankProperty other = (BugRankProperty) o;
        return other.times - this.times;
    }
}
